
import store from "@/store"

export function changeCommonId(value){
    store.commit("changeCommonId", value)
}
export function switchStyle(){
    store.commit("changeDisplayType")
}

export function changeCurLabel(value){
    store.commit("changeCurLabel", value)
}

export function changeMindOptions(key, value){
    store.commit("changeMindOptions", {key, value})
}
export function changeIsShowCreateButton(value){
    store.commit("changeIsShowCreateButton", value)
}

export function changeIsCreate(value){
    store.commit("changeIsCreate", value)
}

export function changeIsCreateGroup(value){
    store.commit("changeIsCreateGroup", value)
}

export function changeIsEdit(value){
    store.commit("changeIsEdit", value)
}

export function changeIsImport(value){
    store.commit("changeIsImport", value)
}   

export function changeIsCreateGroupDialogVisible(value){
    store.commit("changeIsCreateGroupDialogVisible", value)
}

export function changeIsFormDialogVisible(value){
    store.commit("changeIsFormDialogVisible", value)
}

export function changeIsImportDialogVisible(value){
    store.commit("changeIsImportDialogVisible", value)
}